<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>

<%@page import="com.lovo.bbs.vo.*,com.lovo.bbs.bo.*,java.util.*"%>

<%
    String admin=(String)session.getAttribute("admin");
    LoginVo loginvo = (LoginVo)session.getAttribute("loginvo");
	if (loginvo!=null&&admin != null) {
		response.sendRedirect("index.jsp");
	}
%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>登录后台</title>
	</head>
	<link href="../css/BasicLayout.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="../js/wbs_ajax.js"></script>

	<body topmargin="0" leftmargin="0" onload="document.login.username.focus()">

		<form name="login" method="POST" action="">
			<table width="800px" height="100%" border="0" cellspacing="0"
				align="center" cellpadding="3" background="../images/newface.jpg">
				<tr>
					<th width="30%" scope="col">
						&nbsp;
					</th>
					<th width="30%" scope="col">
						&nbsp;
					</th>
					<th width="15%" scope="col">
						&nbsp;
					</th>
					<th width="25%" scope="col">
						&nbsp;
					</th>
				</tr>
				<tr>
					<td>
						&nbsp;
					</td>
					<td>
						&nbsp;
					</td>
					<td>
						&nbsp;
					</td>
					<td>
						&nbsp;
					</td>
				</tr>
				<tr>
					<td>
						&nbsp;
					</td>
					<td>
						&nbsp;
					</td>
					<td align="right">
						<font color="white"><br>
							<b>管理员帐号：<br>
								<br>密码：</b>
						</font>
						<br>
						<br>
						&nbsp;
					</td>
					<td>
						<font color="yellow" id="loginMsg"></font>
						<br>
						<input type="text" name="username" class="InputCss">
						<br>
						<br>
						<input type="password" name="password" class="InputCss">
						
                        <input  type="hidden" name="type" id="type" value="admin"/>
                        <input  type="hidden" name="autologin" id="autologin" value="false"/>
						<br>
						<br>
						<input type="button" onclick="loginStart()" name="" value=" 登 录 "
							class="ButtonCss">
						<input type="reset" name="" value=" 重 置 " class="ButtonCss">
					</td>
				</tr>
				<tr>
					<td>
						&nbsp;
					</td>
					<td>
						&nbsp;
					</td>
					<td align="right">
						<font color="white"><b></b>
						</font>
					</td>
					<td></td>
				</tr>
			</table>
		</form>
	</body>
</html>
